<template>
  <div id="ThirdPartySsoLogin"></div>
</template>

<script>
import { requestGet } from '../../../utils/request'

export default {
  name: 'ThirdPartySsoLogin',
  data () {
    return {
      action: {
        ssoAuthorize: 'caSso/authorize'
      }
    }
  },
  created () {
    // 获取单点登录地址
    requestGet(this.action.ssoAuthorize).then((res) => {
      // 获取ca单点登录地址
      console.log(res.data)
      window.open(res.data)
    })
  }
}
</script>

<style scoped>

</style>
